export const model = {
    caption: "订单明细",
    title: "订单明细表格视图",
    capPSLanguageRes: "DE.LNAME.IBIZORDERDETAIL",
    titlePSLanguageRes: "PAGE.TITLE.IBIZORDERDETAIL.GRIDVIEW",
    showDataInfoBar: false,
    codeName: 'IBIZOrderDetailGridView',
    ctrls: [
      {
        name: 'grid',
        codeName: 'Main',
        controlType: 'GRID'
      },
      {
        name: 'toolbar',
        codeName: 'GridViewtoolbar',
        controlType: 'TOOLBAR'
      }
    ],
    cssName: "",
    name: "IBIZOrderDetailGridView",
    viewType: "DEGRIDVIEW",
    viewStyle: "DEFAULT",
    showCaption: true,
    isLoadDefault: true,
    entityCodeName: "IBIZOrderDetail",
    keyPSAppDEField: "IBIZOrderDetailId",
    majorPSAppDEField: "IBIZOrderDetailName",
    enableQuickSearch: true,
    expandSearchForm:false,
    newData: {
      deCodeName: 'ibizorderdetail',
      newDataViewName: 'IBIZOrderDetailEditView',
      entityName: 'IBIZOrderDetail'
    },
    openData: {
      deCodeName: 'ibizorderdetail',
      openDataViewName: 'IBIZOrderDetailEditView',
    },
    toolbarItems: [
        {
              actionLevel: '250',
              caption: '新建',
              captionLanResTag: 'TBB.TEXT.*.NEW',
              name: 'tbitem3',
              showCaption: true,
              tooltip: '新建',
              tooltipLanResTag: 'TBB.TOOLTIP.*.NEW',
              itemType: 'DEUIACTION',
              showIcon: true,
              disabled: false,
              cssName: '',
              imagePath: '/assets/img/operation.svg',
              iconCls: '',
              imagePathX: '/assets/img/operation@{0}x.svg',
              dataAccessAction: '',
              noPrivDisplayMode: 2,
              uiAction: {
                  codeName: 'New',
                  uIActionMode: 'SYS',
                  actionTarget: '',
                  uIActionTag: 'New',
                  uIActionType: 'DEUIACTION'
              },
                  logic: {
                      name: 'toolbar_tbitem3_click',
                      actionTag: 'New',
                      xDataCtrlName: 'grid',
                      predefinedType: 'EDITVIEW_NEWACTION'
                  }
        },
        {
              actionLevel: '250',
              caption: '保存',
              captionLanResTag: 'TBB.TEXT.*.SAVE',
              name: 'deuiaction2',
              showCaption: true,
              tooltip: '保存',
              tooltipLanResTag: 'TBB.TOOLTIP.*.SAVE',
              itemType: 'DEUIACTION',
              showIcon: true,
              disabled: false,
              imageSize: 28,
              cssName: '',
              imagePath: '/assets/img/operation.svg',
              iconCls: '',
              imagePathX: '/assets/img/operation@{0}x.svg',
              dataAccessAction: '',
              noPrivDisplayMode: 2,
              uiAction: {
                  codeName: 'Save',
                  uIActionMode: 'SYS',
                  actionTarget: '',
                  uIActionTag: 'Save',
                  uIActionType: 'DEUIACTION'
              },
                  logic: {
                      name: 'toolbar_deuiaction2_click',
                      actionTag: 'Save',
                      xDataCtrlName: 'grid',
                      predefinedType: 'EDITVIEW_SAVEACTION'
                  }
        },
        {
              actionLevel: '100',
              caption: '编辑',
              captionLanResTag: 'TBB.TEXT.*.EDIT',
              name: 'tbitem4',
              showCaption: true,
              tooltip: '编辑',
              tooltipLanResTag: 'TBB.TOOLTIP.*.EDIT',
              itemType: 'DEUIACTION',
              showIcon: false,
              disabled: false,
              cssName: '',
              imagePath: '',
              iconCls: 'fa fa-edit',
              imagePathX: '',
              dataAccessAction: '',
              noPrivDisplayMode: 2,
              uiAction: {
                  codeName: 'Edit',
                  uIActionMode: 'SYS',
                  actionTarget: 'SINGLEKEY',
                  uIActionTag: 'Edit',
                  uIActionType: 'DEUIACTION'
              },
                  logic: {
                      name: 'toolbar_tbitem4_click',
                      actionTag: 'Edit',
                      xDataCtrlName: 'grid',
                      predefinedType: 'GRIDVIEW_EDITACTION'
                  }
        },
        {
              actionLevel: '100',
              caption: '拷贝',
              captionLanResTag: 'TBB.TEXT.*.COPY',
              name: 'tbitem6',
              showCaption: true,
              tooltip: '拷贝',
              tooltipLanResTag: 'TBB.TOOLTIP.*.COPY',
              itemType: 'DEUIACTION',
              showIcon: false,
              disabled: false,
              cssName: '',
              imagePath: '',
              iconCls: 'fa fa-copy',
              imagePathX: '',
              dataAccessAction: '',
              noPrivDisplayMode: 2,
              uiAction: {
                  codeName: 'Copy',
                  uIActionMode: 'SYS',
                  actionTarget: 'SINGLEKEY',
                  uIActionTag: 'Copy',
                  uIActionType: 'DEUIACTION'
              },
                  logic: {
                      name: 'toolbar_tbitem6_click',
                      actionTag: 'Copy',
                      xDataCtrlName: 'grid',
                      predefinedType: 'GRIDVIEW_COPYACTION'
                  }
        },
        {
              name: 'tbitem7',
              itemType: 'SEPERATOR',
        },
        {
              actionLevel: '100',
              caption: '删除',
              captionLanResTag: 'TBB.TEXT.*.REMOVE',
              name: 'tbitem8',
              showCaption: true,
              tooltip: '删除',
              tooltipLanResTag: 'TBB.TOOLTIP.*.REMOVE',
              itemType: 'DEUIACTION',
              showIcon: false,
              disabled: false,
              cssName: '',
              imagePath: '',
              iconCls: 'fa fa-remove',
              imagePathX: '',
              dataAccessAction: '',
              noPrivDisplayMode: 2,
              uiAction: {
                  codeName: 'Remove',
                  uIActionMode: 'SYS',
                  actionTarget: 'MULTIKEY',
                  uIActionTag: 'Remove',
                  uIActionType: 'DEUIACTION'
              },
                  logic: {
                      name: 'toolbar_tbitem8_click',
                      actionTag: 'Remove',
                      xDataCtrlName: 'grid',
                      predefinedType: 'GRIDVIEW_REMOVEACTION'
                  }
        },
        {
              name: 'tbitem9',
              itemType: 'SEPERATOR',
        },
        {
              actionLevel: '100',
              caption: '导出',
              captionLanResTag: 'TBB.TEXT.*.EXPORT',
              name: 'tbitem13',
              showCaption: true,
              tooltip: '导出',
              tooltipLanResTag: 'TBB.TOOLTIP.*.EXPORT',
              itemType: 'DEUIACTION',
              showIcon: true,
              disabled: false,
              cssName: '',
              imagePath: '',
              iconCls: 'fa fa-file-excel-o',
              imagePathX: '',
              dataAccessAction: '',
              noPrivDisplayMode: 2,
              uiAction: {
                  codeName: 'ExportExcel',
                  uIActionMode: 'SYS',
                  actionTarget: '',
                  uIActionTag: 'ExportExcel',
                  uIActionType: 'DEUIACTION'
              },
                  logic: {
                      name: 'toolbar_tbitem13_click',
                      actionTag: 'ExportExcel',
                      xDataCtrlName: 'grid',
                      predefinedType: 'GRIDVIEW_EXPORTACTION'
                  }
        },
        {
              actionLevel: '100',
              caption: '导入',
              captionLanResTag: '',
              name: 'deuiaction1',
              showCaption: true,
              tooltip: '导入',
              tooltipLanResTag: '',
              itemType: 'DEUIACTION',
              showIcon: true,
              disabled: false,
              cssName: '',
              imagePath: '',
              iconCls: 'fa fa-upload',
              imagePathX: '',
              dataAccessAction: '',
              noPrivDisplayMode: 2,
              uiAction: {
                  codeName: 'ImportExcel',
                  uIActionMode: 'FRONT',
                  actionTarget: 'NONE',
                  uIActionTag: 'ImportExcel',
                  uIActionType: 'DEUIACTION'
              },
                  logic: {
                      name: 'toolbar_deuiaction1_click',
                      actionTag: 'ImportExcel',
                      xDataCtrlName: 'grid',
                      predefinedType: ''
                  }
        },
        {
              name: 'tbitem10',
              itemType: 'SEPERATOR',
        },
        {
              actionLevel: '',
              caption: '其它',
              captionLanResTag: '',
              name: 'tbitem16',
              showCaption: true,
              tooltip: '其它',
              tooltipLanResTag: '',
              itemType: 'ITEMS',
              showIcon: true,
              disabled: false,
              visible: true,
              dataAccessAction: '',
              items: [  {
              actionLevel: '100',
              caption: '导出数据模型',
              captionLanResTag: 'MENUITEM.CAPTION.*.EXPORTSRF',
              name: 'tbitem21',
              showCaption: true,
              tooltip: '导出数据模型',
              tooltipLanResTag: '',
              itemType: 'DEUIACTION',
              showIcon: true,
              disabled: false,
              cssName: '',
              imagePath: '',
              iconCls: 'fa fa-download',
              imagePathX: '',
              dataAccessAction: '',
              noPrivDisplayMode: 2,
              uiAction: {
                  codeName: 'ExportModel',
                  uIActionMode: 'SYS',
                  actionTarget: '',
                  uIActionTag: 'ExportModel',
                  uIActionType: 'DEUIACTION'
              },
                  logic: {
                      name: 'toolbar_tbitem21_click',
                      actionTag: 'ExportModel',
                      xDataCtrlName: 'grid',
                      predefinedType: 'GRIDVIEW_EXPORTXMLACTION'
                  }
        },
        {
              actionLevel: '100',
              caption: '数据导入',
              captionLanResTag: '',
              name: 'tbitem23',
              showCaption: true,
              tooltip: '数据导入',
              tooltipLanResTag: '',
              itemType: 'DEUIACTION',
              showIcon: true,
              disabled: false,
              cssName: '',
              imagePath: '',
              iconCls: 'fa fa-upload',
              imagePathX: '',
              dataAccessAction: '',
              noPrivDisplayMode: 2,
              uiAction: {
                  codeName: 'Import',
                  uIActionMode: 'SYS',
                  actionTarget: '',
                  uIActionTag: 'Import',
                  uIActionType: 'DEUIACTION'
              },
                  logic: {
                      name: 'toolbar_tbitem23_click',
                      actionTag: 'Import',
                      xDataCtrlName: 'grid',
                      predefinedType: 'GRIDVIEW_IMPORTBAR'
                  }
        },
      ]
        },
    ],
    xDataCtrlName: "grid",
    useDefaultLayout: true,
    quickSearchPlaceholder: "订单明细名称,",
    enableRowEdit: false,
    rowActiveMode: 2,
    rowEditDefault: false,
}